package cn.itsource.crm.service.impl;

import cn.itsource.crm.domain.WarrantyDetails;
import cn.itsource.crm.mapper.WarrantyDetailsMapper;
import cn.itsource.crm.service.IWarrantyDetailsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.io.Serializable;
import java.util.List;

@Service
public class WarrantyDetailsServiceImpl extends BaseServiceImpl<WarrantyDetails> implements IWarrantyDetailsService {

    @Autowired
    private WarrantyDetailsMapper warrantyDetailsMapper;

    @Override
    public List<WarrantyDetails> findDetails(Serializable id) {
        return warrantyDetailsMapper.findDetails(id);
    }

    @Override
    public void deleteDetails(String ids) {
        warrantyDetailsMapper.deleteDetails(ids);
    }
}